/**
 * 
 */
package log_error;

import java.util.logging.Level;

import log_error.AppointmentException.REASON;
import main.MODULE;

/**
 * @author mramsey3
 *
 */
public class FileIOException extends OfficeException {
	public static enum REASON {
		SAVE_FAILURE, LOAD_FAILURE
	    };

	    private REASON reason;

	    public FileIOException(Level level, REASON theReason, String message) {
		super(MODULE.OFFICE, level, theReason.toString() + message);
		reason = theReason;
	    }

	    public REASON getReason() {
		return reason;
	    }
}
